/* The MenuTree - use this function to read it:

	function buildTreeFromJSON(myMenu, theTree, Parent)
	{
		var i = 0 ;
		for( var X in myMenu)
		{  //create a Node for this (Sub)menu
      	           var menuNode = new YAHOO.widget.TextNode(X, Parent, false);
			for(i=0; i<myMenu[X].length;i++)
			{				
				if( null != myMenu[X][i].submenu  )
				{  //recurse
				   
					buildTreeFromJSON(myMenu[X][i].submenu, theTree, menuNode) ;
				}
				 var node = new YAHOO.widget.TextNode(myMenu[X][i].text, menuNode, false);          
			}
		 }	
	}


*/

var menuTree = { "TopLevel1" : [   // 
                                    { text : "Sample1",  // First element
                                      desc : "Sample1",
                                      url  : "http://Sample1.com" 
                                    },                                    
                                    { text : "Sample2",  // Second Element
                                      desc : "Sample2",
                                      url  : "http://Sample2.com"
                                    },   


{ submenu : 
     { SubLevel1:
           [ 
               
               
                     { 
                        text : "Sample3",  // First element
                        desc : "Sample3",
                        url  : "http://Sample3.com" 
                     }                          
               
           ],
      }         

},//submenu  

  
          
                          
                                  ], // End "Home" array.                                  
                  "TopLevel2"       : [ // Sales is another array in employees.
                                    { text : "Sample4",  // First element
                                      desc : "Sample4",
                                      url  : "http://Sample4.com" 
                                    },                                    
                                    { text : "Sample5",  // Second Element
                                      desc : "Sample5",
                                      url  : "http://Sample5.com"
                                    }
                                  ] // End "2112" Array.
                } // End Menu    


